package com.itheima.pojo.backend;


import java.util.List;

public class Paging {
    private long total;
    private int size;
    private int current;
    private List records;

    @Override
    public String toString() {
        return "Paging{" +
                "total=" + total +
                ", size=" + size +
                ", current=" + current +
                ", records='" + records + '\'' +
                '}';
    }


    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public List getRecords() {
        return records;
    }

    public void setRecords(List records) {
        this.records = records;
    }
}